<template>
    <div class="header">
        <div class="header-top">
            <div class="header-left"><div class="iconfont back-icon">&#xe624;</div></div>
            <div class="header-input">
                <span class="iconfont">&#xe632;</span>
                输入城市/景点/游玩主题
            </div>
            <div class="header-right">
                城市
                <span class="iconfont">&#xe64a;</span>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    name:'Header',
    data() {
        return {
            
        }
    },
}
</script>
<style lang="scss">
@import '../assets/scss/config.scss';
//1rem = html fontsize = 50px
    .header{
        .header-top{
            display:flex;
            height:.86rem;
            background-color:$colorA;
            color:#fff;
            line-height:.86rem;
            .header-left{
                width:.64rem;
                float:left;
                .back-icon{
                    text-align: center;
                }
            }
            .header-input{
                flex:1;
                border-radius: .1rem;
                background-color: #fff;
                margin-top: .12rem;
                margin-left: .2rem;
                height: .64rem;
                color:#ccc;
                line-height: .64rem;
                padding-left:.2rem ;
            }
            .header-right{
                float:right;
                width:1.24rem;
                text-align: center;
                .iconfont{
                    margin-left: -.04rem;
                    font-size: .18rem;
                }
            }
        }
    }
</style>